package team.lourd.network.system.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/** 
* @Description: 读取application.properties中的前缀为file的配置
* @Author: Lourd 
* @Date: 2019/1/17 
*/
@ConfigurationProperties(prefix = "file")
public class FileStorageProperties {
    private String uploadDir;

    private String uploadExtensions;

    public String getUploadDir() {
        return uploadDir;
    }

    public void setUploadDir(String uploadDir) {
        this.uploadDir = uploadDir;
    }
    public String getUploadExtensions() {
        return uploadExtensions;
    }
    public void setUploadExtensions(String uploadExtensions) {
        this.uploadExtensions = uploadExtensions;
    }
}
